import { createApp } from 'vue'
import App from './App.vue'

//import './assets/main.css'
import 'animate.css/animate.min.css'


// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


/**
 * font awesome begin
 * 
 * 
 */
import { library } from '@fortawesome/fontawesome-svg-core'

/* import font awesome icon component */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

/* import specific icons  加一个就得写一个。费劲。*/ 
import { faFaceSmile,
    faScissors,
    faFolderOpen,
    faPlay,
    faEraser, //橡皮擦
    faTrashAlt, //垃圾桶
    faPaintBrush,
    faClose,
    faSave
} 
from '@fortawesome/free-solid-svg-icons'


/* add icons to the library */
library.add(faFaceSmile,
    faScissors,
    faFolderOpen,
    faPlay,
    faEraser,
    faTrashAlt,
    faPaintBrush,
    faClose,
    faSave
)



/**
 * font awesome end
 */

createApp(App)
.component('font-awesome-icon', FontAwesomeIcon) // for font awesome.
.use(ElementPlus) // for element-plus
.mount('#app')
